<?php

	//This file is intentionally left blank so that you can add your own global settings
	//and includes which you may need inside your services. This is generally considered bad
	//practice, but it may be the only reasonable choice if you want to integrate with
	//frameworks that expect to be included as globals, for example TextPattern or WordPress

	//Set start time before loading framework
	list($usec, $sec) = explode(" ", microtime());
	$amfphp['startTime'] = ((float)$usec + (float)$sec);
	
	$servicesPath = "services/";
	$voPath = "services/vo/";
	
	define("DOCROOT", str_replace("\\","/",realpath(dirname(dirname(__FILE__)))));
	
	define("INC_CLASSPATH", DOCROOT ."/inc/classes");
	define("INC_CONFIGPATH", DOCROOT."/inc/config");
	
	if(!PRODUCTION_SERVER)
	{
		$dbparameter['default']['host']="localhost";
		$dbparameter['default']['user']="root";
		$dbparameter['default']['passwd']="";
		$dbparameter['default']['dbname']="demidori";
	}else{
		$dbparameter['default']['host']="";
		$dbparameter['default']['user']="";
		$dbparameter['default']['passwd']="";
		$dbparameter['default']['dbname']="";
	}
	
?>